/*
 * CouponChooseListItem.java
 * business
 *
 * Created by SunDing on 2016/12/6.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Coupon;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.CouponChooseHolder;

/** 可选优惠券 */
public class CouponChooseListItem extends DisplayListItem<CouponChooseHolder, Coupon> {

    public CouponChooseListItem(Coupon coupon) {
        super(coupon);
    }

    @Override
    public void onShow(Context context, CouponChooseHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return CouponChooseListItem.class.getSimpleName();
    }

    @Override
    public Class<CouponChooseHolder> getViewHolderClazz() {
        return CouponChooseHolder.class;
    }
}
